package com.wondertek.service.sdk.iotdh.dto.req.installer;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author xxx
 * @Date 2024/8/19 10:03
 */
@Data
public class SearchIpcStartingReq {
    @NotBlank
    @Schema(name = "deviceId", description = "设备SN", required = true)
    private String deviceId;

    @NotNull
    @Schema(name = "timeout", description = "搜索超时，搜索结果上报时间,超过此时间后，不再上报设备信息。单位秒", required = true)
    private Integer timeout;

    @NotBlank
    @Schema(name = "id", description = "Instance ID 来⾃获取ipc搜索实例", required = true)
    private String id;
}
